Tables [dbo].[EventSetupQuestionChoice]
Properties
PropertyValue
Created10:31:20 AM Tuesday, March 02, 2010
Last Modified11:40:02 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_EventSetupQuestionChoice: EventSetupQuestionChoiceID\EventSetupQuestionIDEventSetupQuestionChoiceIDvarchar(8)8
No
Cluster Primary Key PK_EventSetupQuestionChoice: EventSetupQuestionChoiceID\EventSetupQuestionIDForeign Keys FK_EventSetupQuestionChoice_EventSetupQuestion: [dbo].[EventSetupQuestion].EventSetupQuestionIDEventSetupQuestionIDint4
No
Answervarchar(64)64
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_EventSetupQuestionChoice: EventSetupQuestionChoiceID\EventSetupQuestionIDPK_EventSetupQuestionChoiceEventSetupQuestionChoiceID, EventSetupQuestionID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_EventSetupQuestionChoice_EventSetupQuestionEventSetupQuestionID->[dbo].[EventSetupQuestion].[EventSetupQuestionID]
SQL Script
CREATE TABLE [dbo].[EventSetupQuestionChoice]
(
[EventSetupQuestionChoiceID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EventSetupQuestionID] [int] NOT NULL,
[Answer] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[EventSetupQuestionChoice] ADD CONSTRAINT [PK_EventSetupQuestionChoice] PRIMARY KEY CLUSTERED ([EventSetupQuestionChoiceID], [EventSetupQuestionID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EventSetupQuestionChoice] ADD CONSTRAINT [FK_EventSetupQuestionChoice_EventSetupQuestion] FOREIGN KEY ([EventSetupQuestionID]) REFERENCES [dbo].[EventSetupQuestion] ([EventSetupQuestionID])
GO
Uses
Used By